function selectRole(rolelist, redirect)
{
    document.write('<form action="' + redirect + '" name="formRole" method="post">');
    document.write('<input type="hidden" name="roleid" value="' + rolelist.value + '">');
    document.write('</form>');
    document.formRole.submit();
}